<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Jetson Inference: jetson-utils/videoOptions.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="NVLogo_2D.jpg"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Jetson Inference
   </div>
   <div id="projectbrief">DNN Vision Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('videoOptions_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">videoOptions.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="videoOptions_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * Permission is hereby granted, free of charge, to any person obtaining a</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * copy of this software and associated documentation files (the &quot;Software&quot;),</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * to deal in the Software without restriction, including without limitation</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> * the rights to use, copy, modify, merge, publish, distribute, sublicense,</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> * and/or sell copies of the Software, and to permit persons to whom the</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> * Software is furnished to do so, subject to the following conditions:</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> * The above copyright notice and this permission notice shall be included in</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> * all copies or substantial portions of the Software.</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> * DEALINGS IN THE SOFTWARE.</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160; </div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#ifndef __VIDEO_OPTIONS_H_</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#define __VIDEO_OPTIONS_H_</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="imageFormat_8h.html">imageFormat.h</a>&quot;</span>        </div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="commandLine_8h.html">commandLine.h</a>&quot;</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="URI_8h.html">URI.h</a>&quot;</span>        </div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="structvideoOptions.html">   37</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structvideoOptions.html">videoOptions</a></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;{</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;        <a class="code" href="structvideoOptions.html#afa1cc55ed3beeca6917d90607334079e">videoOptions</a>();</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;        </div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="structvideoOptions.html#a1e904a117abb3b703f01eaed7fa305f2">   49</a></span>&#160;        <a class="code" href="structURI.html">URI</a> <a class="code" href="structvideoOptions.html#a1e904a117abb3b703f01eaed7fa305f2">resource</a>;</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;</div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="structvideoOptions.html#a5c30587a874bb769d7b346ac00cff580">   56</a></span>&#160;        uint32_t <a class="code" href="structvideoOptions.html#a5c30587a874bb769d7b346ac00cff580">width</a>;</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;        </div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="structvideoOptions.html#a66660b049937fd088b5ab29a0aa2187c">   63</a></span>&#160;        uint32_t <a class="code" href="structvideoOptions.html#a66660b049937fd088b5ab29a0aa2187c">height</a>;        </div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;</div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="structvideoOptions.html#a85ceaa18c31e939f92da06027de8dedd">   70</a></span>&#160;        <span class="keywordtype">float</span> <a class="code" href="structvideoOptions.html#a85ceaa18c31e939f92da06027de8dedd">frameRate</a>;</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;        </div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="structvideoOptions.html#aec87b064f96732d6d1d8af49483673e6">   77</a></span>&#160;        uint32_t <a class="code" href="structvideoOptions.html#aec87b064f96732d6d1d8af49483673e6">bitRate</a>;</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;</div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="structvideoOptions.html#a65b80ddd3f3cf0940f18e365fb58270b">   84</a></span>&#160;        uint32_t <a class="code" href="structvideoOptions.html#a65b80ddd3f3cf0940f18e365fb58270b">numBuffers</a>;</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;</div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="structvideoOptions.html#afff91aa102908923622328e9f3ca3b83">   91</a></span>&#160;        <span class="keywordtype">bool</span> <a class="code" href="structvideoOptions.html#afff91aa102908923622328e9f3ca3b83">zeroCopy</a>;</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;        </div><div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="structvideoOptions.html#aa8e394eb896dd92fd39c0946c10dd1ea">  106</a></span>&#160;        <span class="keywordtype">int</span> <a class="code" href="structvideoOptions.html#aa8e394eb896dd92fd39c0946c10dd1ea">loop</a>;</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;</div><div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="structvideoOptions.html#a4065c77be7f3be75eddfc16b6efb36ed">  111</a></span>&#160;        <span class="keyword">enum</span> <a class="code" href="structvideoOptions.html#a4065c77be7f3be75eddfc16b6efb36ed">DeviceType</a></div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;        {</div><div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="structvideoOptions.html#a4065c77be7f3be75eddfc16b6efb36edabf0f857ba260214fa9fbeda070cf739c">  113</a></span>&#160;                <a class="code" href="structvideoOptions.html#a4065c77be7f3be75eddfc16b6efb36edabf0f857ba260214fa9fbeda070cf739c">DEVICE_DEFAULT</a> = 0,             </div><div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="structvideoOptions.html#a4065c77be7f3be75eddfc16b6efb36edac77f0e925955b23e5e4c0bd33b58c40e">  114</a></span>&#160;                <a class="code" href="structvideoOptions.html#a4065c77be7f3be75eddfc16b6efb36edac77f0e925955b23e5e4c0bd33b58c40e">DEVICE_V4L2</a>,                    </div><div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="structvideoOptions.html#a4065c77be7f3be75eddfc16b6efb36edad4837999d7b7dbe4b83fc405792fd597">  115</a></span>&#160;                <a class="code" href="structvideoOptions.html#a4065c77be7f3be75eddfc16b6efb36edad4837999d7b7dbe4b83fc405792fd597">DEVICE_CSI</a>,                     </div><div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="structvideoOptions.html#a4065c77be7f3be75eddfc16b6efb36eda13cb55a7a6d78170f4804dd342b3fc0a">  116</a></span>&#160;                <a class="code" href="structvideoOptions.html#a4065c77be7f3be75eddfc16b6efb36eda13cb55a7a6d78170f4804dd342b3fc0a">DEVICE_IP</a>,                      </div><div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="structvideoOptions.html#a4065c77be7f3be75eddfc16b6efb36eda14ace01196686e68ba5f6def69f44886">  117</a></span>&#160;                <a class="code" href="structvideoOptions.html#a4065c77be7f3be75eddfc16b6efb36eda14ace01196686e68ba5f6def69f44886">DEVICE_FILE</a>,                    </div><div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="structvideoOptions.html#a4065c77be7f3be75eddfc16b6efb36eda54f0567fd7cf91c40b5e4f13e874da79">  118</a></span>&#160;                <a class="code" href="structvideoOptions.html#a4065c77be7f3be75eddfc16b6efb36eda54f0567fd7cf91c40b5e4f13e874da79">DEVICE_DISPLAY</a>                  </div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;        };</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;</div><div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="structvideoOptions.html#a63c0d583c059d4498ba885090dac062e">  124</a></span>&#160;        <a class="code" href="structvideoOptions.html#a4065c77be7f3be75eddfc16b6efb36ed">DeviceType</a> <a class="code" href="structvideoOptions.html#a63c0d583c059d4498ba885090dac062e">deviceType</a>;</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;</div><div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="structvideoOptions.html#a7f7ae50399192afba10ee226310878b8">  129</a></span>&#160;        <span class="keyword">enum</span> <a class="code" href="structvideoOptions.html#a7f7ae50399192afba10ee226310878b8">IoType</a></div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;        {</div><div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="structvideoOptions.html#a7f7ae50399192afba10ee226310878b8a75394f2114da6d4d1a690891f70a8b0c">  131</a></span>&#160;                <a class="code" href="structvideoOptions.html#a7f7ae50399192afba10ee226310878b8a75394f2114da6d4d1a690891f70a8b0c">INPUT</a> = 0,                      </div><div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="structvideoOptions.html#a7f7ae50399192afba10ee226310878b8a054b71f306226210b98344694784699d">  132</a></span>&#160;                <a class="code" href="structvideoOptions.html#a7f7ae50399192afba10ee226310878b8a054b71f306226210b98344694784699d">OUTPUT</a>,                         </div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;        };</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;</div><div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="structvideoOptions.html#af48a7105c91b415ef158290be02f45e9">  138</a></span>&#160;        <a class="code" href="structvideoOptions.html#a7f7ae50399192afba10ee226310878b8">IoType</a> <a class="code" href="structvideoOptions.html#af48a7105c91b415ef158290be02f45e9">ioType</a>;</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;</div><div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="structvideoOptions.html#acd8d5155cc7b38791698b4e89c6a96ee">  143</a></span>&#160;        <span class="keyword">enum</span> <a class="code" href="structvideoOptions.html#acd8d5155cc7b38791698b4e89c6a96ee">FlipMethod</a></div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;        {</div><div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="structvideoOptions.html#acd8d5155cc7b38791698b4e89c6a96eea7c09134804adf49ef07558b78d17f031">  145</a></span>&#160;                <a class="code" href="structvideoOptions.html#acd8d5155cc7b38791698b4e89c6a96eea7c09134804adf49ef07558b78d17f031">FLIP_NONE</a> = 0,                          </div><div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="structvideoOptions.html#acd8d5155cc7b38791698b4e89c6a96eea7e8abbc09244387c1f4607c902976b22">  146</a></span>&#160;                <a class="code" href="structvideoOptions.html#acd8d5155cc7b38791698b4e89c6a96eea7e8abbc09244387c1f4607c902976b22">FLIP_COUNTERCLOCKWISE</a>,          </div><div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="structvideoOptions.html#acd8d5155cc7b38791698b4e89c6a96eeac748895a98407e5dde91b9013611cf19">  147</a></span>&#160;                <a class="code" href="structvideoOptions.html#acd8d5155cc7b38791698b4e89c6a96eeac748895a98407e5dde91b9013611cf19">FLIP_ROTATE_180</a>,                        </div><div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="structvideoOptions.html#acd8d5155cc7b38791698b4e89c6a96eeac19ebe40943991cf5e9fcb69e6c5c3e5">  148</a></span>&#160;                <a class="code" href="structvideoOptions.html#acd8d5155cc7b38791698b4e89c6a96eeac19ebe40943991cf5e9fcb69e6c5c3e5">FLIP_CLOCKWISE</a>,                 </div><div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="structvideoOptions.html#acd8d5155cc7b38791698b4e89c6a96eea5d3fdf02e598b86b148161ca516d5162">  149</a></span>&#160;                <a class="code" href="structvideoOptions.html#acd8d5155cc7b38791698b4e89c6a96eea5d3fdf02e598b86b148161ca516d5162">FLIP_HORIZONTAL</a>,                        </div><div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="structvideoOptions.html#acd8d5155cc7b38791698b4e89c6a96eea42d69b4a7eed239acb174789ce6e22e4">  150</a></span>&#160;                <a class="code" href="structvideoOptions.html#acd8d5155cc7b38791698b4e89c6a96eea42d69b4a7eed239acb174789ce6e22e4">FLIP_UPPER_RIGHT_DIAGONAL</a>,      </div><div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="structvideoOptions.html#acd8d5155cc7b38791698b4e89c6a96eea4e10ce85a7798075172005bb720912f3">  151</a></span>&#160;                <a class="code" href="structvideoOptions.html#acd8d5155cc7b38791698b4e89c6a96eea4e10ce85a7798075172005bb720912f3">FLIP_VERTICAL</a>,                          </div><div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="structvideoOptions.html#acd8d5155cc7b38791698b4e89c6a96eea089c5073db1bcb4b658be055abdfe9eb">  152</a></span>&#160;                <a class="code" href="structvideoOptions.html#acd8d5155cc7b38791698b4e89c6a96eea089c5073db1bcb4b658be055abdfe9eb">FLIP_UPPER_LEFT_DIAGONAL</a>,       </div><div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="structvideoOptions.html#acd8d5155cc7b38791698b4e89c6a96eeae1237dbae8c7847640966457de536a96">  153</a></span>&#160;                <a class="code" href="structvideoOptions.html#acd8d5155cc7b38791698b4e89c6a96eeae1237dbae8c7847640966457de536a96">FLIP_DEFAULT</a> = <a class="code" href="structvideoOptions.html#acd8d5155cc7b38791698b4e89c6a96eea7c09134804adf49ef07558b78d17f031">FLIP_NONE</a>                </div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;        };</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;</div><div class="line"><a name="l00172"></a><span class="lineno"><a class="line" href="structvideoOptions.html#a7af22e5cccd15cc2bdf14386f7f34d36">  172</a></span>&#160;        <a class="code" href="structvideoOptions.html#acd8d5155cc7b38791698b4e89c6a96ee">FlipMethod</a> <a class="code" href="structvideoOptions.html#a7af22e5cccd15cc2bdf14386f7f34d36">flipMethod</a>;</div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;</div><div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="structvideoOptions.html#a99a95e988dcf46c0e9177abc7217cf8f">  177</a></span>&#160;        <span class="keyword">enum</span> <a class="code" href="structvideoOptions.html#a99a95e988dcf46c0e9177abc7217cf8f">Codec</a></div><div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;        {</div><div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="structvideoOptions.html#a99a95e988dcf46c0e9177abc7217cf8fa898a63d4293b84ad77a33ec6bbf89cfc">  179</a></span>&#160;                <a class="code" href="structvideoOptions.html#a99a95e988dcf46c0e9177abc7217cf8fa898a63d4293b84ad77a33ec6bbf89cfc">CODEC_UNKNOWN</a> = 0,              </div><div class="line"><a name="l00180"></a><span class="lineno"><a class="line" href="structvideoOptions.html#a99a95e988dcf46c0e9177abc7217cf8fac342da52ac469a843986621ce83a1921">  180</a></span>&#160;                <a class="code" href="structvideoOptions.html#a99a95e988dcf46c0e9177abc7217cf8fac342da52ac469a843986621ce83a1921">CODEC_RAW</a>,                      </div><div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="structvideoOptions.html#a99a95e988dcf46c0e9177abc7217cf8fa27ae05584e47d084cc6460d791b30f78">  181</a></span>&#160;                <a class="code" href="structvideoOptions.html#a99a95e988dcf46c0e9177abc7217cf8fa27ae05584e47d084cc6460d791b30f78">CODEC_H264</a>,                     </div><div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="structvideoOptions.html#a99a95e988dcf46c0e9177abc7217cf8facfa3344671dffa1e70bf03d5ee9e7e65">  182</a></span>&#160;                <a class="code" href="structvideoOptions.html#a99a95e988dcf46c0e9177abc7217cf8facfa3344671dffa1e70bf03d5ee9e7e65">CODEC_H265</a>,                     </div><div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="structvideoOptions.html#a99a95e988dcf46c0e9177abc7217cf8fae1619f6db57624eed45c435ac03f17ae">  183</a></span>&#160;                <a class="code" href="structvideoOptions.html#a99a95e988dcf46c0e9177abc7217cf8fae1619f6db57624eed45c435ac03f17ae">CODEC_VP8</a>,                      </div><div class="line"><a name="l00184"></a><span class="lineno"><a class="line" href="structvideoOptions.html#a99a95e988dcf46c0e9177abc7217cf8face0bbd4b6d2c49e63551158e4fbbf890">  184</a></span>&#160;                <a class="code" href="structvideoOptions.html#a99a95e988dcf46c0e9177abc7217cf8face0bbd4b6d2c49e63551158e4fbbf890">CODEC_VP9</a>,                      </div><div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="structvideoOptions.html#a99a95e988dcf46c0e9177abc7217cf8fa53e71501c4c09e982d2348b84bf275a7">  185</a></span>&#160;                <a class="code" href="structvideoOptions.html#a99a95e988dcf46c0e9177abc7217cf8fa53e71501c4c09e982d2348b84bf275a7">CODEC_MPEG2</a>,                    </div><div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="structvideoOptions.html#a99a95e988dcf46c0e9177abc7217cf8fac05b498eb8b7ba169a41317bcf54c21a">  186</a></span>&#160;                <a class="code" href="structvideoOptions.html#a99a95e988dcf46c0e9177abc7217cf8fac05b498eb8b7ba169a41317bcf54c21a">CODEC_MPEG4</a>,                    </div><div class="line"><a name="l00187"></a><span class="lineno"><a class="line" href="structvideoOptions.html#a99a95e988dcf46c0e9177abc7217cf8faa302ddcb4657d7ad35c682ba7b46a144">  187</a></span>&#160;                <a class="code" href="structvideoOptions.html#a99a95e988dcf46c0e9177abc7217cf8faa302ddcb4657d7ad35c682ba7b46a144">CODEC_MJPEG</a>                     </div><div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;        };</div><div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;</div><div class="line"><a name="l00201"></a><span class="lineno"><a class="line" href="structvideoOptions.html#a7570676849d4971e061170b755f7cb71">  201</a></span>&#160;        <a class="code" href="structvideoOptions.html#a99a95e988dcf46c0e9177abc7217cf8f">Codec</a> <a class="code" href="structvideoOptions.html#a7570676849d4971e061170b755f7cb71">codec</a>;</div><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;</div><div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;        <span class="keywordtype">void</span> <a class="code" href="structvideoOptions.html#aa69a63112b92c4e19a459427329ffd47">Print</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* prefix=NULL ) <span class="keyword">const</span>;</div><div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;</div><div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;        <span class="keywordtype">bool</span> <a class="code" href="structvideoOptions.html#afed7ef6f857484d8585760f9316b90e4">Parse</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="structURI.html">URI</a>, <span class="keyword">const</span> <span class="keywordtype">int</span> argc, <span class="keywordtype">char</span>** argv, <a class="code" href="structvideoOptions.html#a7f7ae50399192afba10ee226310878b8">IoType</a> ioType);</div><div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;</div><div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;        <span class="keywordtype">bool</span> <a class="code" href="structvideoOptions.html#afed7ef6f857484d8585760f9316b90e4">Parse</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="structURI.html">URI</a>, <span class="keyword">const</span> <a class="code" href="classcommandLine.html">commandLine</a>&amp; cmdLine, <a class="code" href="structvideoOptions.html#a7f7ae50399192afba10ee226310878b8">IoType</a> ioType);</div><div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;</div><div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;        <span class="keywordtype">bool</span> <a class="code" href="structvideoOptions.html#afed7ef6f857484d8585760f9316b90e4">Parse</a>( <span class="keyword">const</span> <span class="keywordtype">int</span> argc, <span class="keywordtype">char</span>** argv, <a class="code" href="structvideoOptions.html#a7f7ae50399192afba10ee226310878b8">IoType</a> ioType, <span class="keywordtype">int</span> ioPositionArg=-1 );</div><div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;</div><div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;        <span class="keywordtype">bool</span> <a class="code" href="structvideoOptions.html#afed7ef6f857484d8585760f9316b90e4">Parse</a>( <span class="keyword">const</span> <a class="code" href="classcommandLine.html">commandLine</a>&amp; cmdLine, <a class="code" href="structvideoOptions.html#a7f7ae50399192afba10ee226310878b8">IoType</a> ioType, <span class="keywordtype">int</span> ioPositionArg=-1 );</div><div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;</div><div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;        <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="structvideoOptions.html#a095bf323f30f23060ce3adadfd9c0f2f">IoTypeToStr</a>( <a class="code" href="structvideoOptions.html#a7f7ae50399192afba10ee226310878b8">IoType</a> type );</div><div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;</div><div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;        <span class="keyword">static</span> <a class="code" href="structvideoOptions.html#a7f7ae50399192afba10ee226310878b8">IoType</a> <a class="code" href="structvideoOptions.html#af15495f79afce20edd2c12343c620073">IoTypeFromStr</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* str );</div><div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;</div><div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;        <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="structvideoOptions.html#a90479c2aaa46b180855e99be2497dbfc">DeviceTypeToStr</a>( <a class="code" href="structvideoOptions.html#a4065c77be7f3be75eddfc16b6efb36ed">DeviceType</a> type );</div><div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;</div><div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;        <span class="keyword">static</span> <a class="code" href="structvideoOptions.html#a4065c77be7f3be75eddfc16b6efb36ed">DeviceType</a> <a class="code" href="structvideoOptions.html#a339d348d2b5262987e462f1d42fa4466">DeviceTypeFromStr</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* str );</div><div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;</div><div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;        <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="structvideoOptions.html#a7e3de6bbada14e01a36905b8311ef235">FlipMethodToStr</a>( <a class="code" href="structvideoOptions.html#acd8d5155cc7b38791698b4e89c6a96ee">FlipMethod</a> flip );</div><div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;</div><div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;        <span class="keyword">static</span> <a class="code" href="structvideoOptions.html#acd8d5155cc7b38791698b4e89c6a96ee">FlipMethod</a> <a class="code" href="structvideoOptions.html#a8611c0e59fd292f23ca555f2b5ffd0aa">FlipMethodFromStr</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* str );</div><div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;</div><div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;        <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="structvideoOptions.html#ae3c2c3c26b2352a4f883ba5628049a33">CodecToStr</a>( <a class="code" href="structvideoOptions.html#a99a95e988dcf46c0e9177abc7217cf8f">Codec</a> codec );</div><div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;</div><div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;        <span class="keyword">static</span> <a class="code" href="structvideoOptions.html#a99a95e988dcf46c0e9177abc7217cf8f">Codec</a> <a class="code" href="structvideoOptions.html#a9019047206c44b0bb55d120a9c8e8fc1">CodecFromStr</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* str );</div><div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;};</div><div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;</div><div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;</div><div class="line"><a name="l00273"></a><span class="lineno"><a class="line" href="group__video.html#gaf0923737dee5ff7a8f1a17c4b9c1f2fe">  273</a></span>&#160;<span class="preprocessor">#define LOG_VIDEO &quot;[video]  &quot;</span></div><div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;</div><div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;</div><div class="ttc" id="structvideoOptions_html_a4065c77be7f3be75eddfc16b6efb36edad4837999d7b7dbe4b83fc405792fd597"><div class="ttname"><a href="structvideoOptions.html#a4065c77be7f3be75eddfc16b6efb36edad4837999d7b7dbe4b83fc405792fd597">videoOptions::DEVICE_CSI</a></div><div class="ttdoc">MIPI CSI camera. </div><div class="ttdef"><b>Definition:</b> videoOptions.h:115</div></div>
<div class="ttc" id="structvideoOptions_html_a7f7ae50399192afba10ee226310878b8a75394f2114da6d4d1a690891f70a8b0c"><div class="ttname"><a href="structvideoOptions.html#a7f7ae50399192afba10ee226310878b8a75394f2114da6d4d1a690891f70a8b0c">videoOptions::INPUT</a></div><div class="ttdoc">Input stream (e.g. </div><div class="ttdef"><b>Definition:</b> videoOptions.h:131</div></div>
<div class="ttc" id="structvideoOptions_html_a99a95e988dcf46c0e9177abc7217cf8fac342da52ac469a843986621ce83a1921"><div class="ttname"><a href="structvideoOptions.html#a99a95e988dcf46c0e9177abc7217cf8fac342da52ac469a843986621ce83a1921">videoOptions::CODEC_RAW</a></div><div class="ttdoc">Uncompressed (e.g. </div><div class="ttdef"><b>Definition:</b> videoOptions.h:180</div></div>
<div class="ttc" id="structvideoOptions_html_ae3c2c3c26b2352a4f883ba5628049a33"><div class="ttname"><a href="structvideoOptions.html#ae3c2c3c26b2352a4f883ba5628049a33">videoOptions::CodecToStr</a></div><div class="ttdeci">static const char * CodecToStr(Codec codec)</div><div class="ttdoc">Convert a Codec enum to a string. </div></div>
<div class="ttc" id="structvideoOptions_html_a99a95e988dcf46c0e9177abc7217cf8fa898a63d4293b84ad77a33ec6bbf89cfc"><div class="ttname"><a href="structvideoOptions.html#a99a95e988dcf46c0e9177abc7217cf8fa898a63d4293b84ad77a33ec6bbf89cfc">videoOptions::CODEC_UNKNOWN</a></div><div class="ttdoc">Unknown/unsupported codec. </div><div class="ttdef"><b>Definition:</b> videoOptions.h:179</div></div>
<div class="ttc" id="structvideoOptions_html_a9019047206c44b0bb55d120a9c8e8fc1"><div class="ttname"><a href="structvideoOptions.html#a9019047206c44b0bb55d120a9c8e8fc1">videoOptions::CodecFromStr</a></div><div class="ttdeci">static Codec CodecFromStr(const char *str)</div><div class="ttdoc">Parse a Codec enum from a string. </div></div>
<div class="ttc" id="structvideoOptions_html_a90479c2aaa46b180855e99be2497dbfc"><div class="ttname"><a href="structvideoOptions.html#a90479c2aaa46b180855e99be2497dbfc">videoOptions::DeviceTypeToStr</a></div><div class="ttdeci">static const char * DeviceTypeToStr(DeviceType type)</div><div class="ttdoc">Convert a DeviceType enum to a string. </div></div>
<div class="ttc" id="structvideoOptions_html_a99a95e988dcf46c0e9177abc7217cf8fac05b498eb8b7ba169a41317bcf54c21a"><div class="ttname"><a href="structvideoOptions.html#a99a95e988dcf46c0e9177abc7217cf8fac05b498eb8b7ba169a41317bcf54c21a">videoOptions::CODEC_MPEG4</a></div><div class="ttdoc">MPEG4 (decode only) </div><div class="ttdef"><b>Definition:</b> videoOptions.h:186</div></div>
<div class="ttc" id="structvideoOptions_html_a7f7ae50399192afba10ee226310878b8a054b71f306226210b98344694784699d"><div class="ttname"><a href="structvideoOptions.html#a7f7ae50399192afba10ee226310878b8a054b71f306226210b98344694784699d">videoOptions::OUTPUT</a></div><div class="ttdoc">Output stream (e.g. </div><div class="ttdef"><b>Definition:</b> videoOptions.h:132</div></div>
<div class="ttc" id="structvideoOptions_html_acd8d5155cc7b38791698b4e89c6a96eea7c09134804adf49ef07558b78d17f031"><div class="ttname"><a href="structvideoOptions.html#acd8d5155cc7b38791698b4e89c6a96eea7c09134804adf49ef07558b78d17f031">videoOptions::FLIP_NONE</a></div><div class="ttdoc">Identity (no rotation) </div><div class="ttdef"><b>Definition:</b> videoOptions.h:145</div></div>
<div class="ttc" id="structvideoOptions_html_aa8e394eb896dd92fd39c0946c10dd1ea"><div class="ttname"><a href="structvideoOptions.html#aa8e394eb896dd92fd39c0946c10dd1ea">videoOptions::loop</a></div><div class="ttdeci">int loop</div><div class="ttdoc">Control the number of loops for videoSource disk-based inputs (for example, the number of times that ...</div><div class="ttdef"><b>Definition:</b> videoOptions.h:106</div></div>
<div class="ttc" id="structvideoOptions_html_af15495f79afce20edd2c12343c620073"><div class="ttname"><a href="structvideoOptions.html#af15495f79afce20edd2c12343c620073">videoOptions::IoTypeFromStr</a></div><div class="ttdeci">static IoType IoTypeFromStr(const char *str)</div><div class="ttdoc">Parse an IoType enum from a string. </div></div>
<div class="ttc" id="structvideoOptions_html_a4065c77be7f3be75eddfc16b6efb36ed"><div class="ttname"><a href="structvideoOptions.html#a4065c77be7f3be75eddfc16b6efb36ed">videoOptions::DeviceType</a></div><div class="ttdeci">DeviceType</div><div class="ttdoc">Device interface types. </div><div class="ttdef"><b>Definition:</b> videoOptions.h:111</div></div>
<div class="ttc" id="structvideoOptions_html_a85ceaa18c31e939f92da06027de8dedd"><div class="ttname"><a href="structvideoOptions.html#a85ceaa18c31e939f92da06027de8dedd">videoOptions::frameRate</a></div><div class="ttdeci">float frameRate</div><div class="ttdoc">The framerate of the stream (the default is 30Hz). </div><div class="ttdef"><b>Definition:</b> videoOptions.h:70</div></div>
<div class="ttc" id="structvideoOptions_html_afed7ef6f857484d8585760f9316b90e4"><div class="ttname"><a href="structvideoOptions.html#afed7ef6f857484d8585760f9316b90e4">videoOptions::Parse</a></div><div class="ttdeci">bool Parse(const char *URI, const int argc, char **argv, IoType ioType)</div></div>
<div class="ttc" id="structURI_html"><div class="ttname"><a href="structURI.html">URI</a></div><div class="ttdoc">Resource URI of a video device, IP stream, or file/directory. </div><div class="ttdef"><b>Definition:</b> URI.h:91</div></div>
<div class="ttc" id="structvideoOptions_html_acd8d5155cc7b38791698b4e89c6a96eeac19ebe40943991cf5e9fcb69e6c5c3e5"><div class="ttname"><a href="structvideoOptions.html#acd8d5155cc7b38791698b4e89c6a96eeac19ebe40943991cf5e9fcb69e6c5c3e5">videoOptions::FLIP_CLOCKWISE</a></div><div class="ttdoc">Rotate clockwise 90 degrees. </div><div class="ttdef"><b>Definition:</b> videoOptions.h:148</div></div>
<div class="ttc" id="structvideoOptions_html_a8611c0e59fd292f23ca555f2b5ffd0aa"><div class="ttname"><a href="structvideoOptions.html#a8611c0e59fd292f23ca555f2b5ffd0aa">videoOptions::FlipMethodFromStr</a></div><div class="ttdeci">static FlipMethod FlipMethodFromStr(const char *str)</div><div class="ttdoc">Parse a FlipMethod enum from a string. </div></div>
<div class="ttc" id="structvideoOptions_html_acd8d5155cc7b38791698b4e89c6a96ee"><div class="ttname"><a href="structvideoOptions.html#acd8d5155cc7b38791698b4e89c6a96ee">videoOptions::FlipMethod</a></div><div class="ttdeci">FlipMethod</div><div class="ttdoc">Settings of the flip method used by MIPI CSI cameras and compressed video inputs. ...</div><div class="ttdef"><b>Definition:</b> videoOptions.h:143</div></div>
<div class="ttc" id="structvideoOptions_html_a99a95e988dcf46c0e9177abc7217cf8faa302ddcb4657d7ad35c682ba7b46a144"><div class="ttname"><a href="structvideoOptions.html#a99a95e988dcf46c0e9177abc7217cf8faa302ddcb4657d7ad35c682ba7b46a144">videoOptions::CODEC_MJPEG</a></div><div class="ttdoc">MJPEG. </div><div class="ttdef"><b>Definition:</b> videoOptions.h:187</div></div>
<div class="ttc" id="structvideoOptions_html_a4065c77be7f3be75eddfc16b6efb36eda54f0567fd7cf91c40b5e4f13e874da79"><div class="ttname"><a href="structvideoOptions.html#a4065c77be7f3be75eddfc16b6efb36eda54f0567fd7cf91c40b5e4f13e874da79">videoOptions::DEVICE_DISPLAY</a></div><div class="ttdoc">OpenGL output stream rendered to an attached display. </div><div class="ttdef"><b>Definition:</b> videoOptions.h:118</div></div>
<div class="ttc" id="structvideoOptions_html_a4065c77be7f3be75eddfc16b6efb36edabf0f857ba260214fa9fbeda070cf739c"><div class="ttname"><a href="structvideoOptions.html#a4065c77be7f3be75eddfc16b6efb36edabf0f857ba260214fa9fbeda070cf739c">videoOptions::DEVICE_DEFAULT</a></div><div class="ttdoc">Unknown interface type. </div><div class="ttdef"><b>Definition:</b> videoOptions.h:113</div></div>
<div class="ttc" id="structvideoOptions_html_a66660b049937fd088b5ab29a0aa2187c"><div class="ttname"><a href="structvideoOptions.html#a66660b049937fd088b5ab29a0aa2187c">videoOptions::height</a></div><div class="ttdeci">uint32_t height</div><div class="ttdoc">The height of the stream (in pixels). </div><div class="ttdef"><b>Definition:</b> videoOptions.h:63</div></div>
<div class="ttc" id="structvideoOptions_html"><div class="ttname"><a href="structvideoOptions.html">videoOptions</a></div><div class="ttdoc">The videoOptions struct contains common settings that are used to configure and query videoSource and...</div><div class="ttdef"><b>Definition:</b> videoOptions.h:37</div></div>
<div class="ttc" id="structvideoOptions_html_aa69a63112b92c4e19a459427329ffd47"><div class="ttname"><a href="structvideoOptions.html#aa69a63112b92c4e19a459427329ffd47">videoOptions::Print</a></div><div class="ttdeci">void Print(const char *prefix=NULL) const</div><div class="ttdoc">Log the video settings, with an optional prefix label. </div></div>
<div class="ttc" id="structvideoOptions_html_a65b80ddd3f3cf0940f18e365fb58270b"><div class="ttname"><a href="structvideoOptions.html#a65b80ddd3f3cf0940f18e365fb58270b">videoOptions::numBuffers</a></div><div class="ttdeci">uint32_t numBuffers</div><div class="ttdoc">The number of ring buffers used for threading. </div><div class="ttdef"><b>Definition:</b> videoOptions.h:84</div></div>
<div class="ttc" id="structvideoOptions_html_a7af22e5cccd15cc2bdf14386f7f34d36"><div class="ttname"><a href="structvideoOptions.html#a7af22e5cccd15cc2bdf14386f7f34d36">videoOptions::flipMethod</a></div><div class="ttdeci">FlipMethod flipMethod</div><div class="ttdoc">The flip method controls if and how an input frame is flipped/rotated in pre-processing from a MIPI C...</div><div class="ttdef"><b>Definition:</b> videoOptions.h:172</div></div>
<div class="ttc" id="commandLine_8h_html"><div class="ttname"><a href="commandLine_8h.html">commandLine.h</a></div></div>
<div class="ttc" id="structvideoOptions_html_afa1cc55ed3beeca6917d90607334079e"><div class="ttname"><a href="structvideoOptions.html#afa1cc55ed3beeca6917d90607334079e">videoOptions::videoOptions</a></div><div class="ttdeci">videoOptions()</div><div class="ttdoc">Constructor using default options. </div></div>
<div class="ttc" id="structvideoOptions_html_a99a95e988dcf46c0e9177abc7217cf8face0bbd4b6d2c49e63551158e4fbbf890"><div class="ttname"><a href="structvideoOptions.html#a99a95e988dcf46c0e9177abc7217cf8face0bbd4b6d2c49e63551158e4fbbf890">videoOptions::CODEC_VP9</a></div><div class="ttdoc">VP9. </div><div class="ttdef"><b>Definition:</b> videoOptions.h:184</div></div>
<div class="ttc" id="classcommandLine_html"><div class="ttname"><a href="classcommandLine.html">commandLine</a></div><div class="ttdoc">Command line parser for extracting flags, values, and strings. </div><div class="ttdef"><b>Definition:</b> commandLine.h:35</div></div>
<div class="ttc" id="structvideoOptions_html_a5c30587a874bb769d7b346ac00cff580"><div class="ttname"><a href="structvideoOptions.html#a5c30587a874bb769d7b346ac00cff580">videoOptions::width</a></div><div class="ttdeci">uint32_t width</div><div class="ttdoc">The width of the stream (in pixels). </div><div class="ttdef"><b>Definition:</b> videoOptions.h:56</div></div>
<div class="ttc" id="structvideoOptions_html_afff91aa102908923622328e9f3ca3b83"><div class="ttname"><a href="structvideoOptions.html#afff91aa102908923622328e9f3ca3b83">videoOptions::zeroCopy</a></div><div class="ttdeci">bool zeroCopy</div><div class="ttdoc">If true, indicates the buffers are allocated in zeroCopy memory that is mapped to both the CPU and GP...</div><div class="ttdef"><b>Definition:</b> videoOptions.h:91</div></div>
<div class="ttc" id="structvideoOptions_html_a99a95e988dcf46c0e9177abc7217cf8fa27ae05584e47d084cc6460d791b30f78"><div class="ttname"><a href="structvideoOptions.html#a99a95e988dcf46c0e9177abc7217cf8fa27ae05584e47d084cc6460d791b30f78">videoOptions::CODEC_H264</a></div><div class="ttdoc">H.264. </div><div class="ttdef"><b>Definition:</b> videoOptions.h:181</div></div>
<div class="ttc" id="structvideoOptions_html_acd8d5155cc7b38791698b4e89c6a96eea5d3fdf02e598b86b148161ca516d5162"><div class="ttname"><a href="structvideoOptions.html#acd8d5155cc7b38791698b4e89c6a96eea5d3fdf02e598b86b148161ca516d5162">videoOptions::FLIP_HORIZONTAL</a></div><div class="ttdoc">Flip horizontally. </div><div class="ttdef"><b>Definition:</b> videoOptions.h:149</div></div>
<div class="ttc" id="structvideoOptions_html_acd8d5155cc7b38791698b4e89c6a96eea4e10ce85a7798075172005bb720912f3"><div class="ttname"><a href="structvideoOptions.html#acd8d5155cc7b38791698b4e89c6a96eea4e10ce85a7798075172005bb720912f3">videoOptions::FLIP_VERTICAL</a></div><div class="ttdoc">Flip vertically. </div><div class="ttdef"><b>Definition:</b> videoOptions.h:151</div></div>
<div class="ttc" id="structvideoOptions_html_a4065c77be7f3be75eddfc16b6efb36eda14ace01196686e68ba5f6def69f44886"><div class="ttname"><a href="structvideoOptions.html#a4065c77be7f3be75eddfc16b6efb36eda14ace01196686e68ba5f6def69f44886">videoOptions::DEVICE_FILE</a></div><div class="ttdoc">Disk-based stream from a file or directory of files. </div><div class="ttdef"><b>Definition:</b> videoOptions.h:117</div></div>
<div class="ttc" id="structvideoOptions_html_a7e3de6bbada14e01a36905b8311ef235"><div class="ttname"><a href="structvideoOptions.html#a7e3de6bbada14e01a36905b8311ef235">videoOptions::FlipMethodToStr</a></div><div class="ttdeci">static const char * FlipMethodToStr(FlipMethod flip)</div><div class="ttdoc">Convert a FlipMethod enum to a string. </div></div>
<div class="ttc" id="structvideoOptions_html_aec87b064f96732d6d1d8af49483673e6"><div class="ttname"><a href="structvideoOptions.html#aec87b064f96732d6d1d8af49483673e6">videoOptions::bitRate</a></div><div class="ttdeci">uint32_t bitRate</div><div class="ttdoc">The encoding bitrate for compressed streams (only applies to video codecs like H264/H265). </div><div class="ttdef"><b>Definition:</b> videoOptions.h:77</div></div>
<div class="ttc" id="structvideoOptions_html_a63c0d583c059d4498ba885090dac062e"><div class="ttname"><a href="structvideoOptions.html#a63c0d583c059d4498ba885090dac062e">videoOptions::deviceType</a></div><div class="ttdeci">DeviceType deviceType</div><div class="ttdoc">Indicates the type of device interface used by this stream. </div><div class="ttdef"><b>Definition:</b> videoOptions.h:124</div></div>
<div class="ttc" id="structvideoOptions_html_a4065c77be7f3be75eddfc16b6efb36eda13cb55a7a6d78170f4804dd342b3fc0a"><div class="ttname"><a href="structvideoOptions.html#a4065c77be7f3be75eddfc16b6efb36eda13cb55a7a6d78170f4804dd342b3fc0a">videoOptions::DEVICE_IP</a></div><div class="ttdoc">IP-based network stream (e.g. </div><div class="ttdef"><b>Definition:</b> videoOptions.h:116</div></div>
<div class="ttc" id="structvideoOptions_html_a7f7ae50399192afba10ee226310878b8"><div class="ttname"><a href="structvideoOptions.html#a7f7ae50399192afba10ee226310878b8">videoOptions::IoType</a></div><div class="ttdeci">IoType</div><div class="ttdoc">Input/Output stream type. </div><div class="ttdef"><b>Definition:</b> videoOptions.h:129</div></div>
<div class="ttc" id="structvideoOptions_html_acd8d5155cc7b38791698b4e89c6a96eea7e8abbc09244387c1f4607c902976b22"><div class="ttname"><a href="structvideoOptions.html#acd8d5155cc7b38791698b4e89c6a96eea7e8abbc09244387c1f4607c902976b22">videoOptions::FLIP_COUNTERCLOCKWISE</a></div><div class="ttdoc">Rotate counter-clockwise 90 degrees. </div><div class="ttdef"><b>Definition:</b> videoOptions.h:146</div></div>
<div class="ttc" id="structvideoOptions_html_a99a95e988dcf46c0e9177abc7217cf8fa53e71501c4c09e982d2348b84bf275a7"><div class="ttname"><a href="structvideoOptions.html#a99a95e988dcf46c0e9177abc7217cf8fa53e71501c4c09e982d2348b84bf275a7">videoOptions::CODEC_MPEG2</a></div><div class="ttdoc">MPEG2 (decode only) </div><div class="ttdef"><b>Definition:</b> videoOptions.h:185</div></div>
<div class="ttc" id="structvideoOptions_html_a99a95e988dcf46c0e9177abc7217cf8facfa3344671dffa1e70bf03d5ee9e7e65"><div class="ttname"><a href="structvideoOptions.html#a99a95e988dcf46c0e9177abc7217cf8facfa3344671dffa1e70bf03d5ee9e7e65">videoOptions::CODEC_H265</a></div><div class="ttdoc">H.265. </div><div class="ttdef"><b>Definition:</b> videoOptions.h:182</div></div>
<div class="ttc" id="structvideoOptions_html_af48a7105c91b415ef158290be02f45e9"><div class="ttname"><a href="structvideoOptions.html#af48a7105c91b415ef158290be02f45e9">videoOptions::ioType</a></div><div class="ttdeci">IoType ioType</div><div class="ttdoc">Indicates if this stream is an input or an output. </div><div class="ttdef"><b>Definition:</b> videoOptions.h:138</div></div>
<div class="ttc" id="structvideoOptions_html_a339d348d2b5262987e462f1d42fa4466"><div class="ttname"><a href="structvideoOptions.html#a339d348d2b5262987e462f1d42fa4466">videoOptions::DeviceTypeFromStr</a></div><div class="ttdeci">static DeviceType DeviceTypeFromStr(const char *str)</div><div class="ttdoc">Parse a DeviceType enum from a string. </div></div>
<div class="ttc" id="structvideoOptions_html_a095bf323f30f23060ce3adadfd9c0f2f"><div class="ttname"><a href="structvideoOptions.html#a095bf323f30f23060ce3adadfd9c0f2f">videoOptions::IoTypeToStr</a></div><div class="ttdeci">static const char * IoTypeToStr(IoType type)</div><div class="ttdoc">Convert an IoType enum to a string. </div></div>
<div class="ttc" id="URI_8h_html"><div class="ttname"><a href="URI_8h.html">URI.h</a></div></div>
<div class="ttc" id="structvideoOptions_html_a7570676849d4971e061170b755f7cb71"><div class="ttname"><a href="structvideoOptions.html#a7570676849d4971e061170b755f7cb71">videoOptions::codec</a></div><div class="ttdeci">Codec codec</div><div class="ttdoc">Indicates the codec used by the stream. </div><div class="ttdef"><b>Definition:</b> videoOptions.h:201</div></div>
<div class="ttc" id="structvideoOptions_html_acd8d5155cc7b38791698b4e89c6a96eeac748895a98407e5dde91b9013611cf19"><div class="ttname"><a href="structvideoOptions.html#acd8d5155cc7b38791698b4e89c6a96eeac748895a98407e5dde91b9013611cf19">videoOptions::FLIP_ROTATE_180</a></div><div class="ttdoc">Rotate 180 degrees. </div><div class="ttdef"><b>Definition:</b> videoOptions.h:147</div></div>
<div class="ttc" id="structvideoOptions_html_acd8d5155cc7b38791698b4e89c6a96eeae1237dbae8c7847640966457de536a96"><div class="ttname"><a href="structvideoOptions.html#acd8d5155cc7b38791698b4e89c6a96eeae1237dbae8c7847640966457de536a96">videoOptions::FLIP_DEFAULT</a></div><div class="ttdoc">Default setting (none) </div><div class="ttdef"><b>Definition:</b> videoOptions.h:153</div></div>
<div class="ttc" id="structvideoOptions_html_a99a95e988dcf46c0e9177abc7217cf8fae1619f6db57624eed45c435ac03f17ae"><div class="ttname"><a href="structvideoOptions.html#a99a95e988dcf46c0e9177abc7217cf8fae1619f6db57624eed45c435ac03f17ae">videoOptions::CODEC_VP8</a></div><div class="ttdoc">VP8. </div><div class="ttdef"><b>Definition:</b> videoOptions.h:183</div></div>
<div class="ttc" id="structvideoOptions_html_acd8d5155cc7b38791698b4e89c6a96eea42d69b4a7eed239acb174789ce6e22e4"><div class="ttname"><a href="structvideoOptions.html#acd8d5155cc7b38791698b4e89c6a96eea42d69b4a7eed239acb174789ce6e22e4">videoOptions::FLIP_UPPER_RIGHT_DIAGONAL</a></div><div class="ttdoc">Flip across upper right/lower left diagonal. </div><div class="ttdef"><b>Definition:</b> videoOptions.h:150</div></div>
<div class="ttc" id="structvideoOptions_html_a99a95e988dcf46c0e9177abc7217cf8f"><div class="ttname"><a href="structvideoOptions.html#a99a95e988dcf46c0e9177abc7217cf8f">videoOptions::Codec</a></div><div class="ttdeci">Codec</div><div class="ttdoc">Video codec types. </div><div class="ttdef"><b>Definition:</b> videoOptions.h:177</div></div>
<div class="ttc" id="imageFormat_8h_html"><div class="ttname"><a href="imageFormat_8h.html">imageFormat.h</a></div></div>
<div class="ttc" id="structvideoOptions_html_acd8d5155cc7b38791698b4e89c6a96eea089c5073db1bcb4b658be055abdfe9eb"><div class="ttname"><a href="structvideoOptions.html#acd8d5155cc7b38791698b4e89c6a96eea089c5073db1bcb4b658be055abdfe9eb">videoOptions::FLIP_UPPER_LEFT_DIAGONAL</a></div><div class="ttdoc">Flip across upper left/lower right diagonal. </div><div class="ttdef"><b>Definition:</b> videoOptions.h:152</div></div>
<div class="ttc" id="structvideoOptions_html_a1e904a117abb3b703f01eaed7fa305f2"><div class="ttname"><a href="structvideoOptions.html#a1e904a117abb3b703f01eaed7fa305f2">videoOptions::resource</a></div><div class="ttdeci">URI resource</div><div class="ttdoc">The resource URI of the device, IP stream, or file/directory. </div><div class="ttdef"><b>Definition:</b> videoOptions.h:49</div></div>
<div class="ttc" id="structvideoOptions_html_a4065c77be7f3be75eddfc16b6efb36edac77f0e925955b23e5e4c0bd33b58c40e"><div class="ttname"><a href="structvideoOptions.html#a4065c77be7f3be75eddfc16b6efb36edac77f0e925955b23e5e4c0bd33b58c40e">videoOptions::DEVICE_V4L2</a></div><div class="ttdoc">V4L2 webcam (e.g. </div><div class="ttdef"><b>Definition:</b> videoOptions.h:114</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_54a0acf6da04fe2ed9410b4c6369bc5d.html">jetson-utils</a></li><li class="navelem"><a class="el" href="videoOptions_8h.html">videoOptions.h</a></li>
    <li class="footer">Generated on Tue Jul 14 2020 21:59:34 for Jetson Inference by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
